package com.dd.census.mapper;

import com.dd.census.entity.Resume;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * Mapper层接口
 * Staff1Mapper
 * @author whn
 * @date 2020/11/26
 */
@Mapper
public interface ResumeMapper {

    /**
     * [新增]
     **/
    int insertResume(Resume resume);

    /**
     * [更新]
     **/
    int updateResume(Resume resume);

    /**
     * [主键查询]
     **/
    Resume selectResumeByKey(String id);

    /**
     * [总量查询]
     **/
    int total(Resume resume);

    /**
     * [分页条件查询]
     **/
    List<Resume> selectPageResume (@Param("resume") Resume resume);

    /**
     * [删除]
     **/
    int deleteResume(Resume resume);
}